package service.impl;

import dao.CityDao;
import dao.impl.CityDaoImpl;
import entity.City;
import service.CityService;
import service.ProvinceService;

import java.util.List;

public class CityServiceImpl implements CityService {

    private CityDao cityDao = new CityDaoImpl();
    @Override
    public List<City> findByPid(Integer pid) {
        return cityDao.findByPid(pid);
    }
}
